<script>
import storage from "utils/storage";
	export default {
		onLaunch: function() {
			   uni.getSystemInfo({
					success: function (res) {
						console.log( '设备信息',res)
						storage.setStorage('windowWidth' , res.windowWidth)
						storage.setStorage('windowHeight' , res.windowHeight)
					}
				});
			console.log('App Launch')
			// storage.setStorage("userInfo", {user_id:1005})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
// 公用样式  渐变色
.container{
    .gradientBox {
        background-image: linear-gradient(to bottom, #abe6f7, #f3f5f6)
    }
    .paddingLayout {
        padding: 16rpx 32rpx;
    }
}

.commonTxt{
    font-weight: 600;
    font-size: 28rpx;
}
.hoverBtn {
	opacity: 0.75;
}

@import "@/uni_modules/uview-ui/index.scss";
/*每个页面公共css */
</style>
